package com.ljf.authority.dto.query;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.dto.query.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * 按钮API关联--查询条件  authority_rel_button_api
 *
 * @author LJF
 * @since 2024-10-30
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("按钮API关联--查询条件")
@EqualsAndHashCode(callSuper = true)
public class AuthorityRelButtonApiQuery extends PageParam implements Serializable {

    @JsonProperty("apiCode")
    @ApiModelProperty(value = "API编码")
    private String apiCode;

    @JsonProperty("buttonCode")
    @ApiModelProperty(value = "按钮编码")
    private String buttonCode;

    @JsonProperty("buttonCodeList")
    @ApiModelProperty(value = "按钮编码(集合)")
    private List<String> buttonCodeList;

    @JsonProperty("buttonCodeRightLike")
    @ApiModelProperty(value = "按钮编码(右模糊)")
    private String buttonCodeRightLike;

    @JsonProperty("apiCodeList")
    @ApiModelProperty(value = "API编码(集合)")
    private List<String> apiCodeList;

}
